package com.atguigu.serviceedu.clients;

import com.atguigu.commonutils.R;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * @Classname VodClientDegradeImpl
 * @Description TODO
 * @Date 2022/9/5 12:35
 * @Created by ZHL17
 */
@Component
public class VodClientDegradeImpl implements VodClient{
    @Override
    public R deleteVideoById(String id) {
        return R.error().message("删除视频失败！服务熔断...");
    }

    @Override
    public R deleteVideoList(List<String> videoIdList) {
        return R.error().message("删除视频们失效！服务熔断！");
    }
}
